package com.project.mapper;

import com.project.model.entity.ReportAnnotation;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ReportAnnotationMapper {
    void insertReportAnnotation(ReportAnnotation reportAnnotation);

    void deleteReportAnnotationById(Integer id);

    void updateReportAnnotation(ReportAnnotation reportAnnotation);

    ReportAnnotation selectReportAnnotationById(Integer id);

    List<ReportAnnotation> selectAllReportAnnotations();

    List<ReportAnnotation> selectReportAnnotationsByReportId(Integer reportId);
}

